using System;

namespace DesignPrinciples.ISPSolution
{
    public class DrawEngine
    {
        private readonly ICarEngine _Car;

        public DrawEngine(ICarEngine car)
        {
            _Car = car;
        }

        public void Draw()
        {
            Console.WriteLine("The car will have this engine: " + _Car.EngineType);
        }
    }

}
